<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>添加资源</title>
</head>
<body>
    <h1>添加资源</h1>
    
    {% if form.errors %}
        <p style="color: red;">
            请更正以下错误
        </p>
    {% endif %}

    <form action="" method="post">
            {{ form.as_p }}
        <input type="submit" value="Submit">
    </form>
</body>
</html>